package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;


/**
 * <p>
 * 房间投票
 * </p>
 *
 * @author Gnc
 * @since 2025-01-02
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("youban_room_vote")
@ApiModel(value = "RoomVote对象", description = "房间投票")
public class RoomVote extends BaseEntity<RoomVote> {

    @ApiModelProperty("房间id")
    private Long roomId;

    @ApiModelProperty("投票时长(s)")
    private Integer voteTime;

    @ApiModelProperty("投票对方主题")
    private String voteOther;

    @ApiModelProperty("投票一方主题")
    private String voteThese;

    @ApiModelProperty("另外一方礼物id")
    private Long otherGiftId;

    @ApiModelProperty("一方礼物id")
    private Long theseGiftId;

    @ApiModelProperty("0未开始1进行中2已结束3最后结束")
    private Integer status;

    @ApiModelProperty("主持id")
    private Long userId;

    @Schema(description = "右边送出多少礼物")
    private BigDecimal rightGiftMoney;

    @Schema(description = "左边送出多少礼物")
    private BigDecimal leftGiftMoney;

    @Schema(description = "参加人数")
    private Integer joinNumber;

    @Schema(description = "结束时间")
    private Date endTime;

    @Schema(description = "多久之前")
    @TableField(exist = false)
    private String beforeTime;

    @Schema(description = "礼物图")
    private String theseGiftImg;

    @Schema(description = "礼物图")
    private String otherGiftImg;

    @Schema(description = "礼物价格")
    private BigDecimal theseGiftPrice;

    @Schema(description = "礼物价格")
    private BigDecimal otherGiftPrice;

}
